<template>
<div>
  <paging v-on:listenToPagingChildEvent="handlePagingResult" descUrl="http://localhost:8080/api/page{pageNum}" :pageNum=2 :totalPage=80 :showTotalPage=true :showQuickJump=true></paging>
</div>

</template>

<script>
import paging from '@/components/Paging'
export default {
  name: 'hello',
  data () {
    return {
      msg: 'Welcome to Your Vue.js App'
    }
  },
  components: {
    paging
  },
  methods: {
    handlePagingResult: function(data){
      console.log("tttt")
      console.log(data)
    }
  }
}
</script>


